<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>promise</title>
	</head>
	<body>
    <script type="text/javascript">
    //作用:解决异步问题
    new Promise(function(resolve,reject){
      //resolve 成功调用
      //reject  失败调用
    })
    </script>
	</body>
</html>
